﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_db.aspx.cs" Inherits="WebSite.admin.admin_db" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>数据库管理</title>
    <link href="main.css" rel="stylesheet" type="text/css" />

</head>
<body>
    <form id="form1" runat="server">
    <div>

	<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#E2E7EB">
        <tr>
          <td align="center" bgcolor="#F1F4F7" style="width: 923px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="2%" height="33" background="images/info-list-bg.gif">&nbsp;</td>
              <td Width="98%" align="left" background="images/info-list-bg.gif"><a name=a></a>
                  1：数据库备份</td>
            </tr>
          </table>
            <table Width="98%" border="0" align="center" bordercolor="#FFFFFF" class="border">
			   
		       <tr align="center">
			    <td height="22" align="right">
                    当前数据库路径(相对路径)：</td>
			    <td align="left" style="width: 706px">
                    <asp:TextBox ID="TextBox1" runat="server">App_Data/#kingshopDB.mdb</asp:TextBox></td>
		      </tr>
		       <tr align="center">
			    <td width="22%" height="22" align="right">
                    备份数据库目录(相对路径)：</td>
			    <td align="left" style="width: 706px">
                    <asp:TextBox ID="TextBox2" runat="server">Databackcopy</asp:TextBox></td>
		      </tr>
		       <tr align="center">
			    <td height="22" align="right">
                    备份数据库名称(填写名称)：</td>
			    <td align="left" style="width: 706px">
                    <asp:TextBox ID="TextBox3" runat="server">#_kingDB_copy.mdb</asp:TextBox>如备份目录有该文件，将覆盖，如没有，将自动创建</td>
		      </tr>
			</table>
            
            <table Width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="height: 20px"></td>
              </tr>
            </table>
            <table Width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="40" align="center" valign="top"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/buttom-02.gif" OnClick="ImageButton1_Click" /></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#E2E7EB">
        <tr>
          <td align="center" bgcolor="#E2E7EB" height="2"></td>
          </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#E2E7EB">
        <tr>
          <td align="center" bgcolor="#F1F4F7" style="width: 923px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="2%" height="33" background="images/info-list-bg.gif">&nbsp;</td>
              <td Width="98%" align="left" background="images/info-list-bg.gif"><a name=b></a>
                  2：数据库恢复</td>
            </tr>
          </table>
            <table Width="98%" border="0" align="center" bordercolor="#FFFFFF" class="border">
			   
		       <tr align="center">
			    <td height="22" align="right">
                    备份数据库路径(相对)：</td>
			    <td align="left" style="width: 706px">
                    <asp:TextBox ID="TextBox4" runat="server" Width="215px">Databackcopy/#_kingDB_copy.mdb</asp:TextBox></td>
		      </tr>
		       <tr align="center">
			    <td width="22%" height="22" align="right">
                    目标数据库路径(相对)：</td>
			    <td align="left" style="width: 706px">
                    <asp:TextBox ID="TextBox5" runat="server" Width="215px">App_Data/#kingshopDB.mdb</asp:TextBox></td>
		      </tr>
		       <tr align="center">
			    <td height="22" align="left" colspan=2>
                    填写您当前使用的数据库路径，如不想覆盖当前文件，可自行命名（注意路径是否正确），然后修改配置文件，如果目标文件名和当前使用数据库名一致的话，不需修改配置文件
</td>
			    
		      </tr>
			</table>
            
            <table Width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="height: 20px"></td>
              </tr>
            </table>
            <table Width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="40" align="center" valign="top"><asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="images/buttom-02.gif" OnClick="ImageButton2_Click" /></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#E2E7EB">
        <tr>
          <td align="center" bgcolor="#E2E7EB" height="2"></td>
          </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#E2E7EB">
        <tr>
          <td align="center" bgcolor="#F1F4F7" style="width: 923px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="2%" height="33" background="images/info-list-bg.gif">&nbsp;</td>
              <td Width="98%" align="left" background="images/info-list-bg.gif"><a name=c></a>
                  3：数据库压缩</td>
            </tr>
          </table>
            <table Width="98%" border="0" align="center" bordercolor="#FFFFFF" class="border">
			   
		       <tr align="center">
			    <td height="22" align="left" colspan=2>
                    输入数据库所在路径,并且输入数据库名称（正在使用中数据库不能压缩，请选择备份数据库进行压缩操作）</td>
			    
		      </tr>
		       <tr align="center">
			    <td width="22%" height="22" align="right">
                    压缩数据库：</td>
			    <td align="left" style="width: 706px">
                    <asp:TextBox ID="TextBox6" runat="server" Width="215px">App_Data/#kingshopDB.mdb</asp:TextBox></td>
		      </tr>
		       
			</table>
            
            <table Width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="height: 20px"></td>
              </tr>
            </table>
            <table Width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="40" align="center" valign="top"><asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="images/buttom-02.gif" OnClick="ImageButton3_Click" /></td>
              </tr>
            </table></td>
        </tr>
      </table>
     
    </div>
    </form>
</body>
</html>

